import request from './request.js'
const carOrder = {
  //卖车 报价
  SellCarOrderListDataList(data={}) {
    return request.post('/bussiness/BusCarOrder/SellCarOrderListDataListAsync', data)
  },
  // 买车 询价
  BuyCarOrderListDataList(data={}) {
	  return request.post('/bussiness/BusCarOrder/BuyCarOrderListDataListTask', data)
  },
  // 询价列表
  EnquiryOrderListDataList(data={}) {
	  return request.post('/bussiness/EnquiryOrder/EnquiryOrderListDataList', data)
  },
  // 订单详情
  ContractDetailsDataListTask(data={}) {
	  return request.post('/bussiness/BusCarOrder/ContractDetailsDataListTask', data)
  },
  // 通过手机号查询用户列表
  GetAccountListDataList(data={}) {
	  return request.post('/bussiness/BusGoodsGuaranteeTransaction/GetAccountListDataList', data)
  },
  // 车源入口 发起合同获取卖方信息
  StartContractDataListAsync(data={}) {
	  return request.post('/bussiness/BusOrderContract/StartContractDataListAsync', data)
  },
  // 车源入口 发起合同获取信息页面
  AffirmContractDataListTask(data={}) {
	  return request.post('/bussiness/BusOrderContract/AffirmContractDataListTask', data)
  },
  //  提交合同合同获取
  SubmitContractTask(data={}) {
	  return request.post('/bussiness/BusOrderContract/SubmitContractTask', data)
  },
  // 寻车过去的发起合同
  SubmitContractTaskFindcar(data={}){
		 return request.post('/business/OrderCar/SubmitContractTask', data)
  },
  // 首页入口 发起合同获取信息页面
  GetAccountDataDataListTask(data={}) {
	  return request.post('/bussiness/BusGoodsGuaranteeTransaction/GetAccountDataDataList', data)
  },
  // 确认订单
  AffirmOrderTask(data={}){
    return request.post('/bussiness/BusOrderContract/AffirmOrderTask', data)
  },
  // 订单发货
  DepartOrderTask(data={}){
		 return request.post('/bussiness/BusOrderContract/DepartOrderTask', data)
  },
  // 删除订单
  DeleteOrderTask(data={}){
		 return request.post('/bussiness/BusOrderContract/DeleteOrderTask', data)
  },
  // 确认收货
  OrderReceiveTask(data={}){
		 return request.post('/bussiness/BusOrderContract/OrderReceiveTask', data)
  },
  // 取消订单
  CancelOrderTask(data={}){
		 return request.post('/bussiness/BusOrderContract/CancelOrderTask', data)
  },
  // 拨打电话记录
  AddMobileContactData(){
    return request.put('/bussiness/BusGoods/AddMobileContactData', data)
  },
  // 零售订单  预约订单列表
  GetCarBookList(data={}){
	  return request.post('/business/CarBook/GetCarBookList', data)
  },
  // 零售订单  预约订单详情
  GetCarBookDetails(data={}){
	  return request.post('/business/CarBook/GetCarBookDetails', data)
  },
  // 零售订单  预约订单详情操作
  UpdateCarBook(data={}){
	  return request.post('/business/CarBook/UpdateCarBook', data)
  },
  // 低首付详情接口
  OrderBuyCarDetails(data={}){
		 return request.post('/business/OrderBuyCar/OrderBuyCarDetails', data)
  },
  //低首付待审核处理
  OrderCarDispose(data={}){
		 return request.post('/business/OrderBuyCar/OrderBuyCarDispose', data)
  },
  //低首付交车
  OrderCarDeliver(data={}){
		 return request.post('/business/OrderBuyCar/OrderBuyCarGetCar', data)
  },
  // 低首付订单上传交车资料
  StoreUploadInvoice(data={}){
		 return request.post('/business/OrderBuyCar/StoreUploadInvoice', data)
  },
  // 低首付订单列表

  GetOrderBuyCarList(data={}){
		 return request.post('/business/OrderBuyCar/GetOrderBuyCarList', data)
  },
  // 寻车单列表
  GetCarFindList(data={}){
		 return request.post('/business/CarFind/GetCarFindList', data)
  },
  // 获取是否有寻车单权限
  GetStoreType(data={}){
		 return request.post('/business/CarFind/GetStoreType', data)
  },
  // 获取寻车单详情
  GetCarFindDetails(data={}){
		 return request.post('/business/CarFind/GetCarFindDetails', data)
  },
  // 寻车单新增报价
  AddCarFindQuotedPrice(data={}){
		 return request.post('/business/CarFind/AddCarFindQuotedPrice', data)
  },
}

export default carOrder